package com.InterfaceJDK8ways;

public class Test1 {
    public static void main(String[] args) {

    }
}

//名称不能相同A,B
interface C{
    void test1();
}
interface D{
    void test2();
}

interface F extends C,D{}
class E implements F{

    @Override
    public void test1() {

    }

    @Override
    public void test2() {

    }
}


